From: Carlos Garnacho Date: Fri, 29 May 2020 13:59:32 +0000 (+0200) Subject: padOsd: Drop needless call X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~684^2^2~336 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=ece13291453b83d81b32602b25554ea9e1382d8b;p=gnome-shell.git padOsd: Drop needless call If we got this far, we are dealing with an already known label. There's no need for this check. https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1290 --- diff --git a/js/ui/padOsd.js b/js/ui/padOsd.js index 8f84effd5..32b0584dd 100644 --- a/js/ui/padOsd.js +++ b/js/ui/padOsd.js @@ -639,9 +639,6 @@ var PadDiagram = GObject.registerClass({ if (this._curEdited == null) return; - let [found] = this._getLabelCoords(action, idx, dir); - if (!found) - return; this._editorActor.show(); editedLabel.hide(); }